package com.shoe.mapper;

import com.shoe.pojo.ShoeGood;
import com.shoe.pojo.ShoeGoodExample;
import com.shoe.pojo.ShoeOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ShoeGoodMapper {
    int countByExample(ShoeGoodExample example);

    int deleteByExample(ShoeGoodExample example);

    int deleteByPrimaryKey(Long goodId);

    int insert(ShoeGood record);

    int insertSelective(ShoeGood record);

    List<ShoeGood> selectByExample(ShoeGoodExample example);

    ShoeGood selectByPrimaryKey(Long goodId);

    int updateByExampleSelective(@Param("record") ShoeGood record, @Param("example") ShoeGoodExample example);

    int updateByExample(@Param("record") ShoeGood record, @Param("example") ShoeGoodExample example);

    int updateByPrimaryKeySelective(ShoeGood record);

    int updateByPrimaryKey(ShoeGood record);


    List<ShoeGood> selectAllAnyShoeGood(ShoeGood shoeGood);
    List<ShoeGood> selectPage(Map<String,Integer> map);
}